package br.dcc.ufmg.domain;

import java.sql.ResultSet;
import java.sql.SQLException;

public class Package extends Measure {

	private String name;
	
	public String getIdentifier() {
		return "Package: " + name;
	}


	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public static Package createPackage(ResultSet rs) throws SQLException {
		Package package_ = new Package();
		package_.setName(rs.getString("package"));
		return package_;
	}

}
